package com.cqut.ktpspring.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("work_info")
public class Work {
    @TableField("id")
    private String id;
    @TableField("course_id")
    private String courseId;
    @TableField("course_name")
    private String courseName;
    private String description;
    @TableField("create_date")
    private String createDate;
    @TableField("end_date")
    private String endDate;
    @TableField("submit_num")

    private int submitNum;
    @TableField("judge_num")
    private int judgeNum;
    //附件
    private String annex;
    //是否设置超时（0表示不设置，1表示设置）
    @TableField("overtime")
    private int isOverTime;
    @TableField("max_score")
    private int maxScore;
    //是否查重（0表示不设置，1表示设置）
    private int duplicate;
    //作业相关的文件
    private String file;
}
